<!DOCTYPE html>
<html>
  <head>

    <title> BoardEditorTester </title>
    <script type="text/javascript" src="../testdata/sgfs.js"></script>
    <script type="text/javascript" src="../testdata/gogameguru_commentary.js"></script>

    <!-- AUTO-GEN-DEPS -->
    <!-- END-AUTO-GEN-DEPS -->

    <style>
      * {
        margin: 0;
        padding: 0;
      }
      body {
        height: 100%;
      }
      #glift_display1 {
        height: 500px;
        width: 100%;
        position:relative;
      }
    </style>
  </head>

  <body>
    <div id="glift_display1"></div>
    <div id="wrap" style="position:relative;">
      <div id="gheader"></div>
      <div id="extra_info"></div>
    </div>
  </body>
  <script type="text/javascript">
    var boardEditor = glift.create({
      sgf: {},
      divId: 'glift_display1',
      sgfDefaults: { widgetType: 'BOARD_EDITOR' },
      display: {
        theme: 'DEPTH',
        goBoardBackground: '../themes/assets/bambootile_warm.jpg'
      }
    });
    $(window).resize(function() {
      boardEditor.destroy().draw();
    });
  </script>
</html>
